<div id="header">

	<% if user_signed_in? -%>
  <%= link_to 'karafs', personalized_home_index_path, id: "logo" %>
	  <span id="user"> 
		
		  <span class="pp" style="background-image: url('assets/teaface.png');"><img src="assets/teaface.png" /></span>
		  <%= link_to current_user.email, messages_path, id: "name" %>
		  <span id="links">
		    <%= link_to 'Settings', edit_user_registration_path(:id=>current_user.id) %> &#183; <%= link_to 'Logout', destroy_user_session_path(:id => current_user.id), :method => :delete  %>
		  </span>
		  
	  </span>
	<% else -%>
	  <%= link_to 'karafs', root_path, id: "logo" %>
	<% end -%>
	
</div>
